﻿using System;
using System.Collections.Generic;
using System.Text;
using SqlSugar;

namespace DataImporter.Models
{
    /// <summary>
    /// 新型冠状肺炎
    /// </summary>
    public class NCP
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { set; get; }

        /// <summary>
        /// 客户ID
        /// </summary>
        public int CustomerId { set; get; }

        /// <summary>
        /// 身份证号
        /// </summary>
        public string IdentityNumber { set; get; }

        /// <summary>
        /// 创建日期
        /// </summary>
        [SugarColumn(DefaultValue = "GetDate()", IsNullable = true, IsOnlyIgnoreInsert = true, IsOnlyIgnoreUpdate = true)]
        public DateTime CreateDate { set; get; }

        public int OId { set; get; }
    }
}
